//
//  YXMyInfoView.m
//  跑跑快销
//
//  Created by 杨潇 on 14-4-29.
//  Copyright (c) 2014年 ylife. All rights reserved.
//

#import "YXMyInfoView.h"

@implementation YXMyInfoView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        float tableH;
        if (ISDEVICE7) {
            tableH = [UIScreen mainScreen].bounds.size.height - 64;
        }else{
            tableH = [UIScreen mainScreen].bounds.size.height - 44;
        }
        self.backgroundColor = [UIColor grayColor];
        self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 320, [UIScreen mainScreen].bounds.size.height - 64) style:UITableViewStyleGrouped];
        [self addSubview:self.tableView];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
